<% content_for :right do%>
    <div id="tag_pannel">
    <div id="search">
        <a class="title">内容检索</a>
        <% form_tag ('/index') do %>
            <%= text_field 'tagserch', 'tag_name' , :size => 24 %>
            <br/><%= submit_tag '搜索', :class => 'btn_add' %>
        <% end %>
    </div>
    <div id="tags">
        <a class="title">Tags</a>
        <div id="tagcloud">
            <%= render_partial '/tagcloud', :tags => @tags %>
        </div>
    </div>
    </div>
<!-- todo list -->

<% end %>
<% if blank?(@urls) %>
    <% for url in @urls %>
        <%= render_partial "/url_body", :url => url, :show_comment_count => true %>
    <% end -%>
<% else %>
    <h2>没有收藏链接记录.</h2>
<% end -%>